/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.core;

import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for Office.CustomXMLNode*/
public class CustomXMLNode extends JavaScriptObject {

	protected CustomXMLNode() { }
	public native final Object getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final CustomXMLNodes getAttributes()/*-{
		return this.Attributes;
	}-*/;

	public native final String getBaseName()/*-{
		return this.BaseName;
	}-*/;

	public native final CustomXMLNodes getChildNodes()/*-{
		return this.ChildNodes;
	}-*/;

	public native final CustomXMLNode getFirstChild()/*-{
		return this.FirstChild;
	}-*/;

	public native final CustomXMLNode getLastChild()/*-{
		return this.LastChild;
	}-*/;

	public native final String getNamespaceURI()/*-{
		return this.NamespaceURI;
	}-*/;

	public native final CustomXMLNode getNextSibling()/*-{
		return this.NextSibling;
	}-*/;

	public native final int getNodeType()/*-{
		return this.NodeType;
	}-*/;

	public native final String getNodeValue()/*-{
		return this.NodeValue;
	}-*/;

	public native final void setNodeValue(String value)/*-{
		this.NodeValue = value;
	}-*/;

	public native final Object getOwnerDocument()/*-{
		return this.OwnerDocument;
	}-*/;

	public native final CustomXMLPart getOwnerPart()/*-{
		return this.OwnerPart;
	}-*/;

	public native final CustomXMLNode getPreviousSibling()/*-{
		return this.PreviousSibling;
	}-*/;

	public native final CustomXMLNode getParentNode()/*-{
		return this.ParentNode;
	}-*/;

	public native final String getText()/*-{
		return this.Text;
	}-*/;

	public native final void setText(String value)/*-{
		this.Text = value;
	}-*/;

	public native final String getXPath()/*-{
		return this.XPath;
	}-*/;

	public native final String getXML()/*-{
		return this.XML;
	}-*/;

	public native final void appendChildNode(String name, String namespaceURI, int nodeType, String nodeValue)/*-{
		this.AppendChildNode( name, namespaceURI, nodeType, nodeValue);
	}-*/;

	public native final void appendChildSubtree(String xML)/*-{
		this.AppendChildSubtree( xML);
	}-*/;

	public native final void delete()/*-{
		this.Delete( );
	}-*/;

	public native final boolean hasChildNodes()/*-{
		return this.HasChildNodes( );
	}-*/;

	public native final void insertNodeBefore(String name, String namespaceURI, int nodeType, String nodeValue, CustomXMLNode nextSibling)/*-{
		this.InsertNodeBefore( name, namespaceURI, nodeType, nodeValue, nextSibling);
	}-*/;

	public native final void insertSubtreeBefore(String xML, CustomXMLNode nextSibling)/*-{
		this.InsertSubtreeBefore( xML, nextSibling);
	}-*/;

	public native final void removeChild(CustomXMLNode child)/*-{
		this.RemoveChild( child);
	}-*/;

	public native final void replaceChildNode(CustomXMLNode oldNode, String name, String namespaceURI, int nodeType, String nodeValue)/*-{
		this.ReplaceChildNode( oldNode, name, namespaceURI, nodeType, nodeValue);
	}-*/;

	public native final void replaceChildSubtree(String xML, CustomXMLNode oldNode)/*-{
		this.ReplaceChildSubtree( xML, oldNode);
	}-*/;

	public native final CustomXMLNodes selectNodes(String xPath)/*-{
		return this.SelectNodes( xPath);
	}-*/;

	public native final CustomXMLNode selectSingleNode(String xPath)/*-{
		return this.SelectSingleNode( xPath);
	}-*/;

}
